package com.cake.dao;

import java.util.List;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxPosterReview;

public interface XxPosterReviewMapper extends IBaseDao<XxPosterReview> {
    int deleteByPrimaryKey(Long id);

    int insert(XxPosterReview record);

    int insertSelective(XxPosterReview record);

    XxPosterReview selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(XxPosterReview record);

    int updateByPrimaryKey(XxPosterReview record);

    /**
     * 列表查询用户评论
     * @param xxPosterReview
     * @return
     */
	List<XxPosterReview> selectPosterReviews(XxPosterReview xxPosterReview);
	/**
	 * 通过id查询用户评论详情
	 * @param posterReviewId
	 * @return
	 */
	XxPosterReview selectPosterReviewDetails(Long posterReviewId);
}